package com.hmy.pig.service.impl;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.hmy.pig.domain.SmbmsBill;
import com.hmy.pig.mapper.SmbmsBillMapper;
import com.hmy.pig.service.SmbmsBillService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author yyh
 * @date 2024/3/4 13:31
 * @description SmbmsBillServiceImpl
 */
@Service
public class SmbmsBillServiceImpl implements SmbmsBillService {

    @Resource
    private SmbmsBillMapper billMapper;

    @Override
    public int insert(SmbmsBill bill) {
        return billMapper.insert(bill);
    }

    @Override
    public List<SmbmsBill> listBill() {
        return billMapper.listBill();
    }
}
